!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[Column_DefaultColumn]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[Column_DefaultColumn]"]=t(require("react")):e["rb_wixui.thunderbolt[Column_DefaultColumn]"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(){var t={5329:function(t){"use strict";t.exports=e},448:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const i=[];return e&&i.push(`${l}${e}`),t.forEach((e=>{e&&(i.push(`${l}${e}`),i.push(e))})),i.join(" ")};const h=e=>Object.entries(e).reduce(((e,[t,i])=>(t.includes("data-")&&(e[t]=i),e)),{});var u={root:"repeater",repeaterItem:"repeater__item"};const g="mesh-container-content",m="inline-content",_=e=>o().createElement("div",{key:e.props.id+"-rotated-wrapper","data-mesh-id":e.props.id+"-rotated-wrapper"},e),p=(e,t)=>{const{id:a,className:n,wedges:r=[],rotatedComponents:c=[],children:l,fixedComponents:d=[],extraClassName:u="",renderRotatedComponents:p=_}=e,f=o().Children.toArray(l()),T=[],I=[];f.forEach((e=>d.includes(e.props.id)?T.push(e):I.push(e)));const E=(e=>{const{wedges:t,rotatedComponents:i,childrenArray:a,renderRotatedComponents:n}=e,r=i.reduce(((e,t)=>({...e,[t]:!0})),{});return[...a.map((e=>{return r[(t=e,t.props.id.split("__")[0])]?n(e):e;var t})),...t.map((e=>o().createElement("div",{key:e,"data-mesh-id":e})))]})({childrenArray:I,rotatedComponents:c,wedges:r,renderRotatedComponents:p});return o().createElement("div",i()({},h(e),{"data-mesh-id":a+"inlineContent","data-testid":m,className:s(n,u),ref:t}),o().createElement("div",{"data-mesh-id":a+"inlineContent-gridContainer","data-testid":g},E),T)};var f=o().forwardRef(p),T="HlRz5e";const I="v1",E=2,L=1920,A=1920,b=1e3,w=1e3,O={SCALE_TO_FILL:"fill",SCALE_TO_FIT:"fit",STRETCH:"stretch",ORIGINAL_SIZE:"original_size",TILE:"tile",TILE_HORIZONTAL:"tile_horizontal",TILE_VERTICAL:"tile_vertical",FIT_AND_TILE:"fit_and_tile",LEGACY_STRIP_TILE:"legacy_strip_tile",LEGACY_STRIP_TILE_HORIZONTAL:"legacy_strip_tile_horizontal",LEGACY_STRIP_TILE_VERTICAL:"legacy_strip_tile_vertical",LEGACY_STRIP_SCALE_TO_FILL:"legacy_strip_fill",LEGACY_STRIP_SCALE_TO_FIT:"legacy_strip_fit",LEGACY_STRIP_FIT_AND_TILE:"legacy_strip_fit_and_tile",LEGACY_STRIP_ORIGINAL_SIZE:"legacy_strip_original_size",LEGACY_ORIGINAL_SIZE:"actual_size",LEGACY_FIT_WIDTH:"fitWidth",LEGACY_FIT_HEIGHT:"fitHeight",LEGACY_FULL:"full",LEGACY_BG_FIT_AND_TILE:"legacy_tile",LEGACY_BG_FIT_AND_TILE_HORIZONTAL:"legacy_tile_horizontal",LEGACY_BG_FIT_AND_TILE_VERTICAL:"legacy_tile_vertical",LEGACY_BG_NORMAL:"legacy_normal"},R={FIT:"fit",FILL:"fill",FILL_FOCAL:"fill_focal",CROP:"crop",LEGACY_CROP:"legacy_crop",LEGACY_FILL:"legacy_fill"},M={CENTER:"center",TOP:"top",TOP_LEFT:"top_left",TOP_RIGHT:"top_right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom_left",BOTTOM_RIGHT:"bottom_right",LEFT:"left",RIGHT:"right"},y={[M.CENTER]:{x:.5,y:.5},[M.TOP_LEFT]:{x:0,y:0},[M.TOP_RIGHT]:{x:1,y:0},[M.TOP]:{x:.5,y:0},[M.BOTTOM_LEFT]:{x:0,y:1},[M.BOTTOM_RIGHT]:{x:1,y:1},[M.BOTTOM]:{x:.5,y:1},[M.RIGHT]:{x:1,y:.5},[M.LEFT]:{x:0,y:.5}},G={center:"c",top:"t",top_left:"tl",top_right:"tr",bottom:"b",bottom_left:"bl",bottom_right:"br",left:"l",right:"r"},C={BG:"bg",IMG:"img",SVG:"svg"},S={AUTO:"auto",CLASSIC:"classic",SUPER:"super"},N={classic:1,super:2},F={radius:"0.66",amount:"1.00",threshold:"0.01"},v={uri:"",css:{img:{},container:{}},attr:{img:{},container:{}},transformed:!1},P=25e6,x=[1.5,2,4],k={HIGH:{size:196e4,quality:90,maxUpscale:1},MEDIUM:{size:36e4,quality:85,maxUpscale:1},LOW:{size:16e4,quality:80,maxUpscale:1.2},TINY:{size:0,quality:80,maxUpscale:1.4}},H={HIGH:"HIGH",MEDIUM:"MEDIUM",LOW:"LOW",TINY:"TINY"},Y={CONTRAST:"contrast",BRIGHTNESS:"brightness",SATURATION:"saturation",HUE:"hue",BLUR:"blur"},B={JPG:"jpg",JPEG:"jpeg",JPE:"jpe",PNG:"png",WEBP:"webp",WIX_ICO_MP:"wix_ico_mp",WIX_MP:"wix_mp",GIF:"gif",SVG:"svg",AVIF:"avif",UNRECOGNIZED:"unrecognized"},U={AVIF:"AVIF",PAVIF:"PAVIF"};B.JPG,B.JPEG,B.JPE,B.PNG,B.GIF,B.WEBP;function $(e,...t){return function(...i){const a=i[i.length-1]||{},n=[e[0]];return t.forEach((function(t,r){const o=Number.isInteger(t)?i[t]:a[t];n.push(o,e[r+1])})),n.join("")}}function V(e){return e[e.length-1]}const D=[B.PNG,B.JPEG,B.JPG,B.JPE,B.WIX_ICO_MP,B.WIX_MP,B.WEBP,B.AVIF],z=[B.JPEG,B.JPG,B.JPE];function j(e,t,i){return i&&t&&!(!(a=t.id)||!a.trim()||"none"===a.toLowerCase())&&Object.values(O).includes(e);var a}function W(e,t,i){return function(e,t,i=!1){return!((q(e)||X(e))&&t&&!i)}(e,t,i)&&(function(e){return D.includes(ie(e))}(e)||function(e,t=!1){return J(e)&&t}(e,i))&&!/(^https?)|(^data)|(^\/\/)/.test(e)}function Z(e){return ie(e)===B.PNG}function q(e){return ie(e)===B.WEBP}function J(e){return ie(e)===B.GIF}function X(e){return ie(e)===B.AVIF}const K=["/","\\","?","<",">","|","\u201c",":",'"'].map(encodeURIComponent),Q=["\\.","\\*"],ee="_";function te(e){return function(e){return z.includes(ie(e))}(e)?B.JPG:Z(e)?B.PNG:q(e)?B.WEBP:J(e)?B.GIF:X(e)?B.AVIF:B.UNRECOGNIZED}function ie(e){return(/[.]([^.]+)$/.exec(e)&&/[.]([^.]+)$/.exec(e)[1]||"").toLowerCase()}function ae(e,t,i,a,n){let r;return r=n===R.FILL?function(e,t,i,a){return Math.max(i/e,a/t)}(e,t,i,a):n===R.FIT?function(e,t,i,a){return Math.min(i/e,a/t)}(e,t,i,a):1,r}function ne(e,t,i,a,n,r){e=e||a.width,t=t||a.height;const{scaleFactor:o,width:c,height:s}=function(e,t,i,a,n){let r,o=i,c=a;if(r=ae(e,t,i,a,n),n===R.FIT&&(o=e*r,c=t*r),o&&c&&o*c>P){const i=Math.sqrt(P/(o*c));o*=i,c*=i,r=ae(e,t,o,c,n)}return{scaleFactor:r,width:o,height:c}}(e,t,a.width*n,a.height*n,i);return function(e,t,i,a,n,r,o){const{optimizedScaleFactor:c,upscaleMethodValue:s,forceUSM:l}=function(e,t,i,a){if("auto"===a)return function(e,t){const i=se(e,t);return{optimizedScaleFactor:k[i].maxUpscale,upscaleMethodValue:N.classic,forceUSM:!1}}(e,t);if("super"===a)return function(e){return{optimizedScaleFactor:V(x),upscaleMethodValue:N.super,forceUSM:!(x.includes(e)||e>V(x))}}(i);return function(e,t){const i=se(e,t);return{optimizedScaleFactor:k[i].maxUpscale,upscaleMethodValue:N.classic,forceUSM:!1}}(e,t)}(e,t,r,n);let d=i,h=a;if(r<=c)return{width:d,height:h,scaleFactor:r,upscaleMethodValue:s,forceUSM:l,cssUpscaleNeeded:!1};switch(o){case R.FILL:d=i*(c/r),h=a*(c/r);break;case R.FIT:d=e*c,h=t*c}return{width:d,height:h,scaleFactor:c,upscaleMethodValue:s,forceUSM:l,cssUpscaleNeeded:!0}}(e,t,c,s,r,o,i)}function re(e,t,i,a){const n=ce(i)||function(e=M.CENTER){return y[e]}(a);return{x:Math.max(0,Math.min(e.width-t.width,n.x*e.width-t.width/2)),y:Math.max(0,Math.min(e.height-t.height,n.y*e.height-t.height/2)),width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}}function oe(e){return e.alignment&&G[e.alignment]||G[M.CENTER]}function ce(e){let t;return!e||"number"!=typeof e.x||isNaN(e.x)||"number"!=typeof e.y||isNaN(e.y)||(t={x:le(Math.max(0,Math.min(100,e.x))/100,2),y:le(Math.max(0,Math.min(100,e.y))/100,2)}),t}function se(e,t){const i=e*t;return i>k[H.HIGH].size?H.HIGH:i>k[H.MEDIUM].size?H.MEDIUM:i>k[H.LOW].size?H.LOW:H.TINY}function le(e,t){const i=Math.pow(10,t||0);return(e*i/i).toFixed(t)}function de(e){return e&&e.upscaleMethod&&S[e.upscaleMethod.toUpperCase()]||S.AUTO}function he(e,t){const i=q(e)||X(e);return ie(e)===B.GIF||i&&t}const ue={isMobile:!1},ge=function(e){return ue[e]};function me(){if("undefined"!=typeof window&&"undefined"!=typeof navigator){const t=window.matchMedia&&window.matchMedia("(max-width: 767px)").matches,i=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);e=t&&i,ue["isMobile"]=e}var e}function _e(e,t){const i={css:{container:{}}},{css:a}=i,{fittingType:n}=e;switch(n){case O.ORIGINAL_SIZE:case O.LEGACY_ORIGINAL_SIZE:case O.LEGACY_STRIP_ORIGINAL_SIZE:a.container.backgroundSize="auto",a.container.backgroundRepeat="no-repeat";break;case O.SCALE_TO_FIT:case O.LEGACY_STRIP_SCALE_TO_FIT:a.container.backgroundSize="contain",a.container.backgroundRepeat="no-repeat";break;case O.STRETCH:a.container.backgroundSize="100% 100%",a.container.backgroundRepeat="no-repeat";break;case O.SCALE_TO_FILL:case O.LEGACY_STRIP_SCALE_TO_FILL:a.container.backgroundSize="cover",a.container.backgroundRepeat="no-repeat";break;case O.TILE_HORIZONTAL:case O.LEGACY_STRIP_TILE_HORIZONTAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat-x";break;case O.TILE_VERTICAL:case O.LEGACY_STRIP_TILE_VERTICAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat-y";break;case O.TILE:case O.LEGACY_STRIP_TILE:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat";break;case O.LEGACY_STRIP_FIT_AND_TILE:a.container.backgroundSize="contain",a.container.backgroundRepeat="repeat";break;case O.FIT_AND_TILE:case O.LEGACY_BG_FIT_AND_TILE:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat";break;case O.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat-x";break;case O.LEGACY_BG_FIT_AND_TILE_VERTICAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat-y";break;case O.LEGACY_BG_NORMAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="no-repeat"}switch(t.alignment){case M.CENTER:a.container.backgroundPosition="center center";break;case M.LEFT:a.container.backgroundPosition="left center";break;case M.RIGHT:a.container.backgroundPosition="right center";break;case M.TOP:a.container.backgroundPosition="center top";break;case M.BOTTOM:a.container.backgroundPosition="center bottom";break;case M.TOP_RIGHT:a.container.backgroundPosition="right top";break;case M.TOP_LEFT:a.container.backgroundPosition="left top";break;case M.BOTTOM_RIGHT:a.container.backgroundPosition="right bottom";break;case M.BOTTOM_LEFT:a.container.backgroundPosition="left bottom"}return i}const pe={[M.CENTER]:"center",[M.TOP]:"top",[M.TOP_LEFT]:"top left",[M.TOP_RIGHT]:"top right",[M.BOTTOM]:"bottom",[M.BOTTOM_LEFT]:"bottom left",[M.BOTTOM_RIGHT]:"bottom right",[M.LEFT]:"left",[M.RIGHT]:"right"},fe={position:"absolute",top:"auto",right:"auto",bottom:"auto",left:"auto"};function Te(e,t){const i={css:{container:{},img:{}}},{css:a}=i,{fittingType:n}=e,r=t.alignment;switch(a.container.position="relative",n){case O.ORIGINAL_SIZE:case O.LEGACY_ORIGINAL_SIZE:e.parts&&e.parts.length?(a.img.width=e.parts[0].width,a.img.height=e.parts[0].height):(a.img.width=e.src.width,a.img.height=e.src.height);break;case O.SCALE_TO_FIT:case O.LEGACY_FIT_WIDTH:case O.LEGACY_FIT_HEIGHT:case O.LEGACY_FULL:a.img.width=t.width,a.img.height=t.height,a.img.objectFit="contain",a.img.objectPosition=pe[r]||"unset";break;case O.LEGACY_BG_NORMAL:a.img.width="100%",a.img.height="100%",a.img.objectFit="none",a.img.objectPosition=pe[r]||"unset";break;case O.STRETCH:a.img.width=t.width,a.img.height=t.height,a.img.objectFit="fill";break;case O.SCALE_TO_FILL:a.img.width=t.width,a.img.height=t.height,a.img.objectFit="cover"}if("number"==typeof a.img.width&&"number"==typeof a.img.height&&(a.img.width!==t.width||a.img.height!==t.height)){const e=Math.round((t.height-a.img.height)/2),i=Math.round((t.width-a.img.width)/2);Object.assign(a.img,fe,function(e,t,i){return{[M.TOP_LEFT]:{top:0,left:0},[M.TOP_RIGHT]:{top:0,right:0},[M.TOP]:{top:0,left:t},[M.BOTTOM_LEFT]:{bottom:0,left:0},[M.BOTTOM_RIGHT]:{bottom:0,right:0},[M.BOTTOM]:{bottom:0,left:t},[M.RIGHT]:{top:e,right:0},[M.LEFT]:{top:e,left:0},[M.CENTER]:{width:i.width,height:i.height,objectFit:"none"}}}(e,i,t)[r])}return i}function Ie(e,t){const i={css:{container:{}},attr:{container:{},img:{}}},{css:a,attr:n}=i,{fittingType:r}=e,o=t.alignment,{width:c,height:s}=e.src;let l;switch(a.container.position="relative",r){case O.ORIGINAL_SIZE:case O.LEGACY_ORIGINAL_SIZE:case O.TILE:e.parts&&e.parts.length?(n.img.width=e.parts[0].width,n.img.height=e.parts[0].height):(n.img.width=c,n.img.height=s),n.img.preserveAspectRatio="xMidYMid slice";break;case O.SCALE_TO_FIT:case O.LEGACY_FIT_WIDTH:case O.LEGACY_FIT_HEIGHT:case O.LEGACY_FULL:n.img.width="100%",n.img.height="100%",n.img.transform="",n.img.preserveAspectRatio="";break;case O.STRETCH:n.img.width=t.width,n.img.height=t.height,n.img.x=0,n.img.y=0,n.img.transform="",n.img.preserveAspectRatio="none";break;case O.SCALE_TO_FILL:W(e.src.id)?(n.img.width=t.width,n.img.height=t.height):(l=function(e,t,i,a,n){const r=ae(e,t,i,a,n);return{width:Math.round(e*r),height:Math.round(t*r)}}(c,s,t.width,t.height,R.FILL),n.img.width=l.width,n.img.height=l.height),n.img.x=0,n.img.y=0,n.img.transform="",n.img.preserveAspectRatio="xMidYMid slice"}if("number"==typeof n.img.width&&"number"==typeof n.img.height&&(n.img.width!==t.width||n.img.height!==t.height)){let e,i,a=0,c=0;r===O.TILE?(e=t.width%n.img.width,i=t.height%n.img.height):(e=t.width-n.img.width,i=t.height-n.img.height);const s=Math.round(e/2),l=Math.round(i/2);switch(o){case M.TOP_LEFT:a=0,c=0;break;case M.TOP:a=s,c=0;break;case M.TOP_RIGHT:a=e,c=0;break;case M.LEFT:a=0,c=l;break;case M.CENTER:a=s,c=l;break;case M.RIGHT:a=e,c=l;break;case M.BOTTOM_LEFT:a=0,c=i;break;case M.BOTTOM:a=s,c=i;break;case M.BOTTOM_RIGHT:a=e,c=i}n.img.x=a,n.img.y=c}return n.container.width=t.width,n.container.height=t.height,n.container.viewBox=[0,0,t.width,t.height].join(" "),i}function Ee(e,t,i){let a;switch(t.crop&&(a=function(e,t){const i=Math.max(0,Math.min(e.width,t.x+t.width)-Math.max(0,t.x)),a=Math.max(0,Math.min(e.height,t.y+t.height)-Math.max(0,t.y));return i&&a&&(e.width!==i||e.height!==a)?{x:Math.max(0,t.x),y:Math.max(0,t.y),width:i,height:a}:null}(t,t.crop),a&&(e.src.width=a.width,e.src.height=a.height,e.src.isCropped=!0,e.parts.push(Ae(a)))),e.fittingType){case O.SCALE_TO_FIT:case O.LEGACY_FIT_WIDTH:case O.LEGACY_FIT_HEIGHT:case O.LEGACY_FULL:case O.FIT_AND_TILE:case O.LEGACY_BG_FIT_AND_TILE:case O.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case O.LEGACY_BG_FIT_AND_TILE_VERTICAL:case O.LEGACY_BG_NORMAL:e.parts.push(Le(e,i));break;case O.SCALE_TO_FILL:e.parts.push(function(e,t){const i=ne(e.src.width,e.src.height,R.FILL,t,e.devicePixelRatio,e.upscaleMethod),a=ce(e.focalPoint);return{transformType:a?R.FILL_FOCAL:R.FILL,width:Math.round(i.width),height:Math.round(i.height),alignment:oe(t),focalPointX:a&&a.x,focalPointY:a&&a.y,upscale:i.scaleFactor>1,forceUSM:i.forceUSM,scaleFactor:i.scaleFactor,cssUpscaleNeeded:i.cssUpscaleNeeded,upscaleMethodValue:i.upscaleMethodValue}}(e,i));break;case O.STRETCH:e.parts.push(function(e,t){const i=ae(e.src.width,e.src.height,t.width,t.height,R.FILL),a={...t};return a.width=e.src.width*i,a.height=e.src.height*i,Le(e,a)}(e,i));break;case O.TILE_HORIZONTAL:case O.TILE_VERTICAL:case O.TILE:case O.LEGACY_ORIGINAL_SIZE:case O.ORIGINAL_SIZE:a=re(e.src,i,e.focalPoint,i.alignment),e.src.isCropped?(Object.assign(e.parts[0],a),e.src.width=a.width,e.src.height=a.height):e.parts.push(Ae(a));break;case O.LEGACY_STRIP_TILE_HORIZONTAL:case O.LEGACY_STRIP_TILE_VERTICAL:case O.LEGACY_STRIP_TILE:case O.LEGACY_STRIP_ORIGINAL_SIZE:e.parts.push(function(e){return{transformType:R.LEGACY_CROP,width:Math.round(e.width),height:Math.round(e.height),alignment:oe(e),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}(i));break;case O.LEGACY_STRIP_SCALE_TO_FIT:case O.LEGACY_STRIP_FIT_AND_TILE:e.parts.push(function(e){return{transformType:R.FIT,width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(i));break;case O.LEGACY_STRIP_SCALE_TO_FILL:e.parts.push(function(e){return{transformType:R.LEGACY_FILL,width:Math.round(e.width),height:Math.round(e.height),alignment:oe(e),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(i))}}function Le(e,t){const i=ne(e.src.width,e.src.height,R.FIT,t,e.devicePixelRatio,e.upscaleMethod);return{transformType:!e.src.width||!e.src.height?R.FIT:R.FILL,width:Math.round(i.width),height:Math.round(i.height),alignment:G.center,upscale:i.scaleFactor>1,forceUSM:i.forceUSM,scaleFactor:i.scaleFactor,cssUpscaleNeeded:i.cssUpscaleNeeded,upscaleMethodValue:i.upscaleMethodValue}}function Ae(e){return{transformType:R.CROP,x:Math.round(e.x),y:Math.round(e.y),width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}function be(e,t){t=t||{},e.quality=function(e,t){const i=e.fileType===B.PNG,a=e.fileType===B.JPG,n=e.fileType===B.WEBP,r=e.fileType===B.AVIF,o=a||i||n||r;if(o){const a=V(e.parts),n=(c=a.width,s=a.height,k[se(c,s)].quality);let r=t.quality&&t.quality>=5&&t.quality<=90?t.quality:n;return r=i?r+5:r,r}var c,s;return 0}(e,t),e.progressive=function(e){return!1!==e.progressive}(t),e.watermark=function(e){return e.watermark}(t),e.autoEncode=t.autoEncode??!0,e.encoding=t?.encoding,e.unsharpMask=function(e,t){if(function(e){const t="number"==typeof(e=e||{}).radius&&!isNaN(e.radius)&&e.radius>=.1&&e.radius<=500,i="number"==typeof e.amount&&!isNaN(e.amount)&&e.amount>=0&&e.amount<=10,a="number"==typeof e.threshold&&!isNaN(e.threshold)&&e.threshold>=0&&e.threshold<=255;return t&&i&&a}(t.unsharpMask))return{radius:le(t.unsharpMask?.radius,2),amount:le(t.unsharpMask?.amount,2),threshold:le(t.unsharpMask?.threshold,2)};if(("number"!=typeof(i=(i=t.unsharpMask)||{}).radius||isNaN(i.radius)||0!==i.radius||"number"!=typeof i.amount||isNaN(i.amount)||0!==i.amount||"number"!=typeof i.threshold||isNaN(i.threshold)||0!==i.threshold)&&function(e){const t=V(e.parts);return!(t.scaleFactor>=1)||t.forceUSM||t.transformType===R.FIT}(e))return F;var i;return}(e,t),e.filters=function(e){const t=e.filters||{},i={};we(t[Y.CONTRAST],-100,100)&&(i[Y.CONTRAST]=t[Y.CONTRAST]);we(t[Y.BRIGHTNESS],-100,100)&&(i[Y.BRIGHTNESS]=t[Y.BRIGHTNESS]);we(t[Y.SATURATION],-100,100)&&(i[Y.SATURATION]=t[Y.SATURATION]);we(t[Y.HUE],-180,180)&&(i[Y.HUE]=t[Y.HUE]);we(t[Y.BLUR],0,100)&&(i[Y.BLUR]=t[Y.BLUR]);return i}(t)}function we(e,t,i){return"number"==typeof e&&!isNaN(e)&&0!==e&&e>=t&&e<=i}function Oe(e,t,i,a){const n=function(e){return e?.isSEOBot??!1}(a),r=te(t.id),o=function(e,t){const i=/\.([^.]*)$/,a=new RegExp(`(${K.concat(Q).join("|")})`,"g");if(t&&t.length){let e=t;const n=t.match(i);return n&&D.includes(n[1])&&(e=t.replace(i,"")),encodeURIComponent(e).replace(a,ee)}const n=e.match(/\/(.*?)$/);return(n?n[1]:e).replace(i,"")}(t.id,t.name),c=n?1:function(e){return Math.min(e.pixelAspectRatio||1,E)}(i),s=ie(t.id),l=s,d=W(t.id,a?.hasAnimation,a?.allowAnimatedTransform),h={fileName:o,fileExtension:s,fileType:r,fittingType:e,preferredExtension:l,src:{id:t.id,width:t.width,height:t.height,isCropped:!1,isAnimated:he(t.id,a?.hasAnimation)},focalPoint:{x:t.focalPoint&&t.focalPoint.x,y:t.focalPoint&&t.focalPoint.y},parts:[],devicePixelRatio:c,quality:0,upscaleMethod:de(a),progressive:!0,watermark:"",unsharpMask:{},filters:{},transformed:d};return d&&(Ee(h,t,i),be(h,a)),h}function Re(e,t,i){const a={...i},n=ge("isMobile");switch(e){case O.LEGACY_BG_FIT_AND_TILE:case O.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case O.LEGACY_BG_FIT_AND_TILE_VERTICAL:case O.LEGACY_BG_NORMAL:const e=n?b:L,i=n?w:A;a.width=Math.min(e,t.width),a.height=Math.min(i,Math.round(a.width/(t.width/t.height))),a.pixelAspectRatio=1}return a}const Me=$`fit/w_${"width"},h_${"height"}`,ye=$`fill/w_${"width"},h_${"height"},al_${"alignment"}`,Ge=$`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`,Ce=$`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`,Se=$`crop/w_${"width"},h_${"height"},al_${"alignment"}`,Ne=$`fill/w_${"width"},h_${"height"},al_${"alignment"}`,Fe=$`,lg_${"upscaleMethodValue"}`,ve=$`,q_${"quality"}`,Pe=$`,quality_auto`,xe=$`,usm_${"radius"}_${"amount"}_${"threshold"}`,ke=$`,bl`,He=$`,wm_${"watermark"}`,Ye={[Y.CONTRAST]:$`,con_${"contrast"}`,[Y.BRIGHTNESS]:$`,br_${"brightness"}`,[Y.SATURATION]:$`,sat_${"saturation"}`,[Y.HUE]:$`,hue_${"hue"}`,[Y.BLUR]:$`,blur_${"blur"}`},Be=$`,enc_auto`,Ue=$`,enc_avif`,$e=$`,enc_pavif`,Ve=$`,pstr`;function De(e,t,i,a={},n){if(W(t.id,a?.hasAnimation,a?.allowAnimatedTransform)){if(q(t.id)||X(t.id)){const{alignment:r,...o}=i;t.focalPoint={x:void 0,y:void 0},delete t?.crop,n=Oe(e,t,o,a)}else n=n||Oe(e,t,i,a);return function(e){const t=[];e.parts.forEach((e=>{switch(e.transformType){case R.CROP:t.push(Ce(e));break;case R.LEGACY_CROP:t.push(Se(e));break;case R.LEGACY_FILL:let i=Ne(e);e.upscale&&(i+=Fe(e)),t.push(i);break;case R.FIT:let a=Me(e);e.upscale&&(a+=Fe(e)),t.push(a);break;case R.FILL:let n=ye(e);e.upscale&&(n+=Fe(e)),t.push(n);break;case R.FILL_FOCAL:let r=Ge(e);e.upscale&&(r+=Fe(e)),t.push(r)}}));let i=t.join("/");return e.quality&&(i+=ve(e)),e.unsharpMask&&(i+=xe(e.unsharpMask)),e.progressive||(i+=ke(e)),e.watermark&&(i+=He(e)),e.filters&&(i+=Object.keys(e.filters).map((t=>Ye[t](e.filters))).join("")),e.fileType!==B.GIF&&(e.encoding===U.AVIF?(i+=Ue(e),i+=Pe(e)):e.encoding===U.PAVIF?(i+=$e(e),i+=Pe(e)):e.autoEncode&&(i+=Be(e))),e.src?.isAnimated&&e.transformed&&(i+=Ve(e)),`${e.src.id}/${I}/${i}/${e.fileName}.${e.preferredExtension}`}(n)}return t.id}const ze={[M.CENTER]:"50% 50%",[M.TOP_LEFT]:"0% 0%",[M.TOP_RIGHT]:"100% 0%",[M.TOP]:"50% 0%",[M.BOTTOM_LEFT]:"0% 100%",[M.BOTTOM_RIGHT]:"100% 100%",[M.BOTTOM]:"50% 100%",[M.RIGHT]:"100% 50%",[M.LEFT]:"0% 50%"},je=Object.entries(ze).reduce(((e,[t,i])=>(e[i]=t,e)),{}),We=[O.TILE,O.TILE_HORIZONTAL,O.TILE_VERTICAL,O.LEGACY_BG_FIT_AND_TILE,O.LEGACY_BG_FIT_AND_TILE_HORIZONTAL,O.LEGACY_BG_FIT_AND_TILE_VERTICAL],Ze=[O.LEGACY_ORIGINAL_SIZE,O.ORIGINAL_SIZE,O.LEGACY_BG_NORMAL];function qe(e,t,{width:i,height:a}){return e===O.TILE&&t.width>i&&t.height>a}function Je(e,{width:t,height:i}){if(!t||!i){const a=t||Math.min(980,e.width),n=a/e.width;return{width:a,height:i||e.height*n}}return{width:t,height:i}}function Xe(e,t,i,a="center"){const n={img:{},container:{}};if(e===O.SCALE_TO_FILL){const e=t.focalPoint&&function(e){const t=`${e.x}% ${e.y}%`;return je[t]||""}(t.focalPoint),r=e||a;t.focalPoint&&!e?n.img={objectPosition:Ke(t,i,t.focalPoint)}:n.img={objectPosition:ze[r]}}else[O.LEGACY_ORIGINAL_SIZE,O.ORIGINAL_SIZE].includes(e)?n.img={objectFit:"none",top:"auto",left:"auto",right:"auto",bottom:"auto"}:We.includes(e)&&(n.container={backgroundSize:`${t.width}px ${t.height}px`});return n}function Ke(e,t,i){const{width:a,height:n}=e,{width:r,height:o}=t,{x:c,y:s}=i;if(!r||!o)return`${c}% ${s}%`;const l=Math.max(r/a,o/n),d=a*l,h=n*l,u=Math.max(0,Math.min(d-r,d*(c/100)-r/2)),g=Math.max(0,Math.min(h-o,h*(s/100)-o/2));return`${u&&Math.floor(u/(d-r)*100)}% ${g&&Math.floor(g/(h-o)*100)}%`}const Qe={width:"100%",height:"100%"};function et(e,t,i,a={}){const{autoEncode:n=!0,isSEOBot:r,shouldLoadHQImage:o,hasAnimation:c,allowAnimatedTransform:s,encoding:l}=a;if(!j(e,t,i))return v;const d=void 0===s||s,h=W(t.id,c,d);if(!h||o)return tt(e,t,i,{...a,autoEncode:n,useSrcset:h});const u={...i,...Je(t,i)},{alignment:g,htmlTag:m}=u,_=qe(e,t,u),p=function(e,t,{width:i,height:a},n=!1){if(n)return{width:i,height:a};const r=!Ze.includes(e),o=qe(e,t,{width:i,height:a}),c=!o&&We.includes(e),s=c?t.width:i,l=c?t.height:a,d=r?function(e,t){return e>900?t?.05:.15:e>500?t?.1:.18:e>200?.25:1}(s,Z(t.id)):1;return{width:o?1920:s*d,height:l*d}}(e,t,u,r),f=function(e,t,i){return i?0:We.includes(t)?1:e>200?2:3}(u.width,e,r),T=function(e,t){const i=We.includes(e)&&!t;return e===O.SCALE_TO_FILL||i?O.SCALE_TO_FIT:e}(e,_),I=Xe(e,t,i,g),{uri:E}=tt(T,t,{...p,alignment:g,htmlTag:m},{autoEncode:n,filters:f?{blur:f}:{},hasAnimation:c,allowAnimatedTransform:d,encoding:l}),{attr:L={},css:A}=tt(e,t,{...u,alignment:g,htmlTag:m},{});return A.img=A.img||{},A.container=A.container||{},Object.assign(A.img,I.img,Qe),Object.assign(A.container,I.container),{uri:E,css:A,attr:L,transformed:!0}}function tt(e,t,i,a){let n={};if(j(e,t,i)){const r=Re(e,t,i),o=Oe(e,t,r,a);n.uri=De(e,t,r,a,o),a?.useSrcset&&(n.srcset=function(e,t,i,a,n){const r=i.pixelAspectRatio||1;return{dpr:[`${1===r?n.uri:De(e,t,{...i,pixelAspectRatio:1},a)} 1x`,`${2===r?n.uri:De(e,t,{...i,pixelAspectRatio:2},a)} 2x`]}}(e,t,r,a,n)),Object.assign(n,function(e,t){let i;return i=t.htmlTag===C.BG?_e:t.htmlTag===C.SVG?Ie:Te,i(e,t)}(o,r),{transformed:o.transformed})}else n=v;return n}const it="https://static.wixstatic.com/media/";"undefined"!=typeof window&&window.devicePixelRatio;me();me();const at=it,{STATIC_MEDIA_URL:nt}=e,rt=({fittingType:e,src:t,target:i,options:a})=>{const n=et(e,t,i,{...a,autoEncode:!0});return n?.uri&&!/^[a-z]+:/.test(n.uri)&&(n.uri=`${nt}${n.uri}`),n},ot=/^[a-z]+:/,ct=e=>{const{id:t,containerId:i,uri:a,alt:n,name:o="",role:c,width:s,height:l,displayMode:d,devicePixelRatio:h,quality:u,alignType:g,bgEffectName:m="",focalPoint:_,upscaleMethod:p,className:f="",crop:I,imageStyles:E={},targetWidth:L,targetHeight:A,targetScale:b,onLoad:w=(()=>{}),onError:O=(()=>{}),shouldUseLQIP:R,containerWidth:M,containerHeight:y,getPlaceholder:G,isInFirstFold:C,placeholderTransition:S,socialAttrs:N,isSEOBot:F,skipMeasure:v,hasAnimation:P,encoding:x}=e,k=r.useRef(null);let H="";const Y="blur"===S,B=r.useRef(null);if(!B.current)if(G||R||C||F){const e={upscaleMethod:p,...u||{},shouldLoadHQImage:C,isSEOBot:F,hasAnimation:P,encoding:x};B.current=(G||rt)({fittingType:d,src:{id:a,width:s,height:l,crop:I,name:o,focalPoint:_},target:{width:M,height:y,alignment:g,htmlTag:"img"},options:e}),H=!B.current.transformed||C||F?"":"true"}else B.current={uri:void 0,css:{img:{}},attr:{img:{},container:{}},transformed:!1};const U=!F&&(G||R)&&!C&&B.current.transformed,$=r.useMemo((()=>JSON.stringify({containerId:i,...i&&{containerId:i},...g&&{alignType:g},...v&&{skipMeasure:!0},displayMode:d,...M&&{targetWidth:M},...y&&{targetHeight:y},...L&&{targetWidth:L},...A&&{targetHeight:A},...b&&{targetScale:b},isLQIP:U,isSEOBot:F,lqipTransition:S,encoding:x,imageData:{width:s,height:l,uri:a,name:o,displayMode:d,hasAnimation:P,...u&&{quality:u},...h&&{devicePixelRatio:h},..._&&{focalPoint:_},...I&&{crop:I},...p&&{upscaleMethod:p}}})),[i,g,v,d,M,y,L,A,b,U,F,S,x,s,l,a,o,P,u,h,_,I,p]),V=B.current,D=V?.uri,z=V?.srcset,j=V.css?.img,W=`${T} ${f}`;r.useEffect((()=>{const e=k.current;w&&e?.currentSrc&&e?.complete&&w({target:e})}),[]);const Z=V&&!V?.transformed?`max(${s}px, 100%)`:L?`${L}px`:null;return r.createElement("wow-image",{id:t,class:W,"data-image-info":$,"data-motion-part":`BG_IMG ${i}`,"data-bg-effect-name":m,"data-has-ssr-src":H,"data-animate-blur":!F&&U&&Y?"":void 0,style:Z?{"--wix-img-max-width":Z}:{}},r.createElement("img",{src:D,ref:k,alt:n||"",role:c,style:{...j,...E},onLoad:w,onError:O,width:M||void 0,height:y||void 0,...N,srcSet:C?z?.dpr?.map((e=>ot.test(e)?e:`${nt}${e}`)).join(", "):void 0,fetchpriority:C?"high":void 0,loading:!1===C?"lazy":void 0,suppressHydrationWarning:!0}))};var st="I5zqsT";var lt=e=>{var t,a;const{id:n,alt:o,role:c,className:l,imageStyles:d={},targetWidth:h,targetHeight:u,onLoad:g,onError:m,containerWidth:_,containerHeight:p,isInFirstFold:f,socialAttrs:T,skipMeasure:I,responsiveImageProps:E,zoomedImageResponsiveOverride:L}=e,A=h||_,b=u||p,w=A+"px",{fallbackSrc:O,srcset:R,css:M}=E||{};return O&&R&&M?r.createElement("img",i()({fetchpriority:f?"high":void 0,loading:!1===f?"lazy":void 0,sizes:w,srcSet:I?null==L?void 0:L.srcset:null==E?void 0:E.srcset,id:n,src:O,alt:o||"",role:c,style:{...d,...I?{...null==L||null==(t=L.css)?void 0:t.img}:{...null==E||null==(a=E.css)?void 0:a.img}},onLoad:g,onError:m,className:s(l,st),width:A,height:b},T)):r.createElement(ct,e)};var dt=e=>{var t,i,a;const{className:n,customIdPrefix:o,getPlaceholder:c,hasAnimation:s,...l}=e,d=r.useMemo((()=>JSON.stringify({containerId:l.containerId,alignType:l.alignType,fittingType:l.displayMode,hasAnimation:s,imageData:{width:l.width,height:l.height,uri:l.uri,name:l.name,...l.quality&&{quality:l.quality},displayMode:l.displayMode}})),[l,s]),h=r.useRef(null);h.current||(h.current=c?c({fittingType:l.displayMode,src:{id:l.uri,width:l.width,height:l.height,name:l.name},target:{width:l.containerWidth,height:l.containerHeight,alignment:l.alignType,htmlTag:"bg"},options:{hasAnimation:s,allowAnimatedTransform:!1}}):{uri:void 0,css:{img:{}},attr:{img:{},container:{}}});const u=h.current,g=null!=(t=null==u?void 0:u.uri)?t:"",m=null!=(i=null==(a=u.css)?void 0:a.container)?i:{},_=Object.assign(g?{backgroundImage:"url("+g+")"}:{},m);return r.createElement("wix-bg-image",{id:""+(o||"bgImg_")+l.containerId,class:n,style:_,"data-tiled-image-info":d,"data-has-bg-scroll-effect":l.hasBgScrollEffect||"","data-bg-effect-name":l.bgEffectName||""})};const ht=new RegExp("<%= compId %>","g"),ut=(e,t)=>e.replace(ht,t);var gt=e=>null==e?void 0:e.replace(":hover",""),mt="bX9O_S",_t="Z_wCwr",pt="Jxk_UL",ft="K8MSra",Tt="YTb3b4";const It={quality:{unsharpMask:{radius:.33,amount:1,threshold:0}},devicePixelRatio:1};var Et=e=>{const{id:t,videoRef:a,videoInfo:n,posterImageInfo:o,muted:c,preload:l,loop:d,alt:h,isVideoEnabled:u,getPlaceholder:g,extraClassName:m=""}=e;n.containerId=gt(n.containerId);const _=r.useMemo((()=>JSON.stringify(n)),[n]),p=r.createElement(r.Fragment,null,o.filterEffectSvgString&&r.createElement("svg",{id:"svg_"+n.containerId,className:Tt},r.createElement("defs",{dangerouslySetInnerHTML:{__html:ut(o.filterEffectSvgString,n.containerId)}})),r.createElement(lt,i()({key:n.videoId+"_img",id:o.containerId+"_img",className:s(_t,pt,"bgVideoposter",m),imageStyles:{width:"100%",height:"100%"}},o,It,{getPlaceholder:g})));return u?r.createElement("wix-video",{id:t,"data-video-info":_,"data-motion-part":"BG_IMG "+n.containerId,class:s(mt,"bgVideo",m)},r.createElement("video",{key:n.videoId+"_video",ref:a,id:n.containerId+"_video",className:ft,crossOrigin:"anonymous","aria-label":h,playsInline:!0,preload:l,muted:c,loop:d,tabIndex:-1}),p):p},Lt="SUz0WK";var At=e=>{const{id:t,containerId:i,pageId:a,children:n,bgEffectName:o="",containerSize:c}=e;return r.createElement("wix-bg-media",{id:t,class:Lt,"data-container-id":i,"data-container-size":((null==c?void 0:c.width)||0)+", "+((null==c?void 0:c.height)||0),"data-page-id":a,"data-bg-effect-name":o,"data-motion-part":"BG_MEDIA "+i},n)};const bt="bgOverlay";var wt="m4khSP",Ot="FNxOn5";var Rt=e=>{const{imageOverlay:t}=e;return r.createElement("div",{"data-testid":bt,className:wt},t&&r.createElement(dt,i()({customIdPrefix:"bgImgOverlay_",className:Ot},t)))};const Mt="bgLayers",yt="colorUnderlay",Gt="mediaPadding",Ct="canvas";var St="MW5IWV",Nt="N3eg0s",Ft="Kv1aVt",vt="dLPlxY",Pt="VgO9Yg",xt="LWbAav",kt="yK6aSC",Ht="K_YxMd",Yt="NGjcJN",Bt="mNGsUM";const Ut="bgImage";var $t=e=>{const{videoRef:t,canvasRef:a,hasBgFullscreenScrollEffect:n,image:o,backgroundImage:c,backgroundMedia:l,video:d,backgroundOverlay:h,shouldPadMedia:u,extraClass:g="",shouldRenderUnderlay:m=!d,reducedMotion:_=!1,getPlaceholder:p,hasCanvasAnimation:f,useWixMediaCanvas:T}=e,{onImageLoad:I}=(e=>{let{onReady:t,image:i}=e;return(0,r.useEffect)((()=>{t&&!i&&t()}),[t,i]),{onImageLoad:e=>{null!=i&&i.onLoad&&i.onLoad(e),t&&t()}}})(e),E=gt(e.containerId),L="img_"+gt(E),A=o&&r.createElement(lt,i()({id:L,className:s(Ft,vt,Bt,Ut),imageStyles:{width:"100%",height:"100%"},getPlaceholder:p},o,{onLoad:I})),b=c&&r.createElement(dt,i()({},c,{containerId:E,className:s(Ft,vt,Bt,Ut),getPlaceholder:p})),w=d&&r.createElement(Et,i()({id:"videoContainer_"+E},d,{extraClassName:kt,reducedMotion:_,videoRef:t,getPlaceholder:p})),O=T&&a||f?r.createElement("wix-media-canvas",{"data-container-id":E},A,b,w,r.createElement("canvas",{id:E+"webglcanvas",className:s(Ht,"webglcanvas"),"aria-label":(null==d?void 0:d.alt)||"",role:"presentation","data-testid":Ct})):r.createElement(r.Fragment,null,A,b,w,a&&r.createElement("canvas",{id:E+"webglcanvas",ref:a,className:s(Ht,"webglcanvas"),"aria-label":(null==d?void 0:d.alt)||"",role:"presentation","data-testid":Ct})),R=l?r.createElement(At,i()({id:"bgMedia_"+E},l),O):r.createElement("div",{id:"bgMedia_"+E,"data-motion-part":"BG_MEDIA "+E,className:Pt},O),M=h&&r.createElement(Rt,h);return r.createElement("div",{id:Mt+"_"+E,"data-hook":Mt,"data-motion-part":"BG_LAYER "+E,className:s(St,g,{[Nt]:n})},m&&r.createElement("div",{"data-testid":yt,className:s(xt,Ft)}),u?r.createElement("div",{"data-testid":Gt,className:Yt},R,M):r.createElement(r.Fragment,null,R,M))},Vt="YzqVVZ",Dt="mwF7X1",zt="YGilLk";var jt=e=>{let{id:t,fillLayers:a,children:n,meshProps:r,videoRef:c,getPlaceholder:l,onReady:d}=e;const h=a.hasBgFullscreenScrollEffect;return o().createElement(o().Fragment,null,o().createElement($t,i()({},a,{onReady:d,getPlaceholder:l,videoRef:c})),o().createElement(f,i()({id:t},r,{extraClassName:s({[Dt]:h})}),n))};const Wt="column-strip__column",Zt=(e,t)=>{const{id:a,className:n,customClassNames:r=[],children:c,onClick:l,onDblClick:g,onMouseEnter:m,onMouseLeave:_,shouldAddTabIndex0:p,hasPlatformClickHandler:f,translations:T,fillLayers:I,onStop:E,isRepeaterItem:L,columnOverrides:A}=e,b=s(n,Vt,d(L?u.repeaterItem:A?Wt:"",...r),{[zt]:f}),w=p?{tabIndex:0,role:"region","aria-label":(null==T?void 0:T.ariaLabel)||"Interactive element, focus to trigger content change"}:{},O=function(e,t,i){const a=o().useRef(null),n=o().useRef(null);return t?n.current||(n.current={play:()=>a.current?.play(),load:()=>a.current?.load(),pause:()=>a.current?.pause(),stop:()=>{a.current&&(a.current.pause(),a.current.currentTime=0,i&&i(a.current))}}):n.current=null,o().useImperativeHandle(e,(()=>n.current||{load(){},stop(){}})),a}(t,!!I.video,E);return o().createElement("div",i()({id:a},h(e),{className:b,onClick:l,onDoubleClick:g,onMouseEnter:m,onMouseLeave:_},w),o().createElement(jt,i()({},e,{videoRef:O}),c))};const qt={Column_DefaultColumn:{component:o().forwardRef(Zt)}}}(),n}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[Column_DefaultColumn].15035870.bundle.min.js.map